#define _CRT_SECURE_NO_WARNINGS 1

#include "Queue.h"

void test1()
{
	Queue s;
	QueueInit(&s);
	
	QueuePush(&s, 1);
	QueuePush(&s, 2);
	QueuePush(&s, 3);
	QueuePush(&s, 3);
	QueuePush(&s, 4);
	/*QueueData ret = QueueBack(&s);
	printf("%d\n", ret);*/
	

	//int size = QueueSize(&s);
	//printf("%d\n", size);

	QueuePop(&s);
	/*QueueData num = QueueFront(&s);
	printf("%d\n", num);*/

	QueueDestroy(&s);
	int size = QueueSize(&s);
	printf("%d\n", size);
	//QueueData ret = QueueBack(&s);
	//printf("%d\n", ret);
	/*QueueData num = QueueFront(&s);
	printf("%d\n", num);*/
	printf("%d\n", QueueEmpty(&s));
	

}

int main()
{
	test1();

	return 0;
}